//
// Created by shaowenhan on 2020/4/22.
//

#ifndef DOUBLE_DOUBLE_H
#define DOUBLE_DOUBLE_H

#include <cmath>

bool isEqual(double a, double b, double precision=1e-6);
bool isZero(double a, double precision=1e-6);
bool isFirstLessThanSecond(double a, double b, double precision=1e-6);
bool isFirstLessThanOrEqualToSecond(double a, double b, double precision=1e-6);
bool isFirstGreaterThanSecond(double a, double b, double precision=1e-6);
bool isFirstGreaterThanOrEqualToSecond(double a, double b, double precision=1e-6);

#endif //DOUBLE_DOUBLE_H
